package com.demo.strategy.st_02;

import java.math.BigDecimal;

/**
 * @Author: shubin_yao
 * @Date: 2022/05/15/22:59
 * @Description:
 */
public class NYGCouponDiscount implements ICouponDiscount<Double> {
    /**
     * n元购购买
     * 1. ⽆论原价多少钱都固定⾦额购买
     */
    public BigDecimal discountAmount(Double couponInfo, BigDecimal
            skuPrice) {
        return new BigDecimal(couponInfo);
    }
}